<?php

/**
 * relatedProductColor admin form
 *
 * @package    Onnobostro
 * @subpackage relatedProductColor
 * @author     Your name here
 */
class RelatedProductColorAdminForm extends BaseRelatedProductColorForm
{
  public function configure()
  {
    parent::configure();
  }
   protected function createMediaFormForImageId() {
        // get the DmMedia form
        $form = parent::createMediaFormForImageId();

        // choose mime types allowed
        $form->setMimeTypeWhiteList(array(
                'image/jpeg',
                'image/png',
                'image/jpg',
                'image/gif'
        ));
        unset($form['legend'], $form['author'], $form['license']);
        return $form;
    }
}